package com.huluobo.a2204kotlinshopping.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.huluobo.a2204kotlinshopping.R
import com.huluobo.base.bean.KeyWordBean

/**
 *  Created by LC on 2024/7/27.
 */
class KeyWordAdapter(list: MutableList<KeyWordBean>) :
    BaseQuickAdapter<KeyWordBean, BaseViewHolder>(R.layout.item_keyword, list) {
    override fun convert(helper: BaseViewHolder, item: KeyWordBean) {
        helper.setText(R.id.item_keyword_tv, item.keyword)
    }
}